package com.zf.zffencheng.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName: AdminLoginInfoVo <br/>
 * Description:  <br/>
 * date: 2021/5/8 16:38<br/>
 *
 * @author william <br/>
 */
@Data
@ApiModel("登录返回对象")
@NoArgsConstructor
@AllArgsConstructor
public class AdminLoginInfoVo {
    @ApiModelProperty("管理员id")
    private Integer adminId;
    @ApiModelProperty("签名")
    private String token;
    @ApiModelProperty("1 平台 3 寺院 4资方")
    private Integer adminType;
    @ApiModelProperty("账户id 寺院指代 tenantId, 资方指代资方id ")
    private Integer accountId;

    public AdminLoginInfoVo(Integer adminId, String token, Integer adminType){
        this.adminId = adminId;
        this.token = token;
        this.adminType = adminType;
    }
}
